 <!-- HEADER BLOCK -->
    <div id="leo-blockheader" class="wrap" >
	<div class="inner-wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <?php $this->renderBlock( "logo" ); ?>
          <!-- HEADER TOP -->
           <?php if($this->countModules('header-top')) : ?>
            <div id="leo-header-top" >
           		<div id="leo-header-top-inner" >
                  <jdoc:include type="modules" name="header-top"  style="leoxhtml" />
                </div>
            </div>
            <?php endif; ?>


        </div>
      </div>
    </div>
	</div>

     <!--  HEADER BLOCK1 -->
             <!-- MAIN TOP MENU -->
          <div id="leo-mainmenu" class="wrap">
          <div class="leo-container">
            <div class="leo-container-inner">
             <div class="mainmenu">
              <?php  $menu->preProcess()->render(); ?>
              </div>
			  <?php if( $this->getParam("enable_responsive",1) ): ?>
           <!-- RESPONESIVE MENU -->
            <div id="leo-responsivemenu">
				<?php $this->getMenu( "combobox" , $this->_templateName, $this->objTemplate->params )->preProcess()->render();?>
            </div>

           <!-- END RESPONESIVE MENU //-->
           <?php endif; ?>
               <?php if($this->countModules('search')) : ?>
          <div id="leo-search" >
            <jdoc:include type="modules" name="search"  style="leoxhtml" />
          </div>
          <?php endif; ?>
            </div>


           </div>
          </div>
            <!-- END MAIN TOP MENU -->

      <?php if( $this->countModules("slideshow") ) : ?>
    <div id="leo-slideshow"  class="wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <jdoc:include type="modules" name="slideshow" style="leoxhtml" />
        </div>
      </div>
    </div>
    <?php endif; ?>



   <?php $this->renderBlock( "cols", array(  "name"=>"top", 'numcols'=>4, 'start'=>1, "id"=>"headertop" ) ); ?>

    <!-- END HEADER BLOCK //-->


    <?php $this->renderBlock( "cols", array(  "name"=>"user", 'numcols'=>4, 'start'=>1, "id"=>"usertop1" ) ); ?>
     <?php if($this->countModules('showcase-top')) : ?>
    <div id="leo-showcase-top"  class="wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <jdoc:include type="modules" name="showcase-top"  style="leoxhtml" />
        </div>
      </div>
    </div>
    <?php endif; ?>
    <?php $this->renderBlock( "cols", array(  "name"=>"user", 'numcols'=>4, 'start'=>5, "id"=>"usertop2" ) ); ?>
    <?php $this->renderBlock( "cols", array(  "name"=>"user", 'numcols'=>4, 'start'=>9, "id"=>"userbottom" ) ); ?>

    <!-- MAIN WRAPPER BLOCK -->
   	<?php $this->renderBlock( "mainwrap" );?>
    <!-- END MAIN WRAPPER BLOCK -->

      <?php if($this->countModules('showcase-bottom1')) : ?>
    <div id="leo-showcase-bottom1"  class="wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <jdoc:include type="modules" name="showcase-bottom1"  style="leoxhtml" />
        </div>
      </div>
    </div>
    <?php endif; ?>

      <?php if($this->countModules('showcase-bottom2')) : ?>
    <div id="leo-showcase-bottom2"  class="wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <jdoc:include type="modules" name="showcase-bottom2" style="leoxhtml" />
        </div>
      </div>
    </div>
    <?php endif; ?>
      <?php if($this->countModules('breadcrumbs-bottom')) : ?>
    <div id="leo-breadcrumbs-bottom"  class="wrap">
      <div class="leo-container">
        <div class="leo-container-inner">
          <jdoc:include type="modules" name="breadcrumbs-bottom" style="leoxhtml" />
        </div>
      </div>
    </div>
    <?php endif; ?>
    <?php $this->renderBlock( "cols", array(  "name"=>"user", 'numcols'=>5, 'start'=>13, "id"=>"userbottom1", "style"=>"leoxhtml2" ) ); ?>
    <div id="leo-blockbottom" class="wrap <?php echo $bgbottomClass;?>">
		<div class="inner-wrap">

      <?php $this->renderBlock( "cols", array(  "name"=>"user", 'numcols'=>4, 'start'=>18, "id"=>"userbottom2", "style"=>"leoxhtml2" ) ); ?>
      <!-- FOOTER BLOCK -->
      <?php echo $this->renderBlock( "footer" ); ?>
     <!-- END FOOTER BLOCK -->
	 </div>
    </div>

  </div>
</div>
<jdoc:include type="modules" name="debug" />
<?php 	if( $this->getParam('enable_toolspanel',1) ) { $this->renderAddon( "toolspanel" ); } ?>
<?php 	if( $this->getParam('enable_ga',0) ) { $this->renderAddon( "ga" ); } ?>